import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [

  {
    title: '开票日期',
    align:"center",
    dataIndex: 'issueMoon',
    resizable:true
  },
  {
    title: '购方识别号',
    align: "center",
    dataIndex: 'buyerIdentificationNumber',
    resizable:true
  },
  {
    title: '购买方名称',
    align: "center",
    resizable:true,
    dataIndex: 'buyerName'
  },
  {
    title: '发票票种',
    align:"center",
    resizable:true,
    dataIndex: 'invoiceType'
  },
  {
    title: '合计金额',
    align:"center",
    dataIndex: 'amount',
    resizable:true
  },
  {
    title: '合计税额',
    align:"center",
    dataIndex: 'tax'
  },
  {
    title: '合计价税合计',
    align:"center",
    dataIndex: 'totalPriceWithTax',
    resizable:true
  },
];

// 高级查询数据
export const superQuerySchema = {
  issueDate: { title: '开票月份', order: 1, view: 'month', type: 'string' },
  invoiceStatus: { title: '发票状态', order: 2, view: 'text', type: 'string' },
  buyerIdentificationNumber: { title: '购方税号', order: 3, view: 'text', type: 'string' },
  buyerName: { title: '购买方名称', order: 4, view: 'text', type: 'string' },
  status: { title: '是否已报销', order: 5, view: 'text', type: 'string' },
};
